from rest_framework import serializers

from .models import *


# class CateSerializer(serializers.ModelSerializer):
#     """
#     序列化分类
#
#     """
#     class Meta:
#         model = Cate
#         fields = '__all__'

class GoodsSerializer(serializers.ModelSerializer):
    """
    商品序列化
    """
    class Meta:
        model = Good
        fields = '__all__'